<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<meta name="layout" content="main" />
		<title>Login</title>
	</head>
	<body>
		<div class="body">
			<g:form action="login" method="post">
				<div class="dialog">
					<p>&nbsp;&nbsp;&nbsp;&nbsp;Enter your login details below:</p>
					<table class="loginForm">
						<tr class='prop'>
							<td valign='top' style='text-align:left;' width='20%'>
								<label for='username'>Username:</label>
							</td>
							<td valign='top' style='text-align:left;' width='80%'>
								<g:textField name="username" value="${username}" />
							</td>
						</tr>
						<tr class='prop'>
							<td valign='top' style='text-align:left;' width='20%'>
								<label for='password'>Password:</label>
							</td>
							<td valign='top' style='text-align:left;' width='80%'>
								<g:passwordField name="password" value="${password}" />
							</td>
						</tr>
					</table>
				</div>
				
				<g:if test="${error}">
					<ul class="errors" role="alert">
						<li>${error}</li>
					</ul>
				</g:if>
				
				<div class="buttons">
					<span class="formButton">
						<input type="submit" value="Login"></input>
					</span>
				</div>
			</g:form>
		</div>
	</body>
</html>
